home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 419_01 / odmg10 / config / hp.cf < prev    next >
Encoding:
Text File  |  1994-02-27  |  1.8 KB  |  71 lines

  1. XCOMM platform:  $XConsortium: hp.cf,v 1.47 91/07/28 22:39:35 rws Exp $
  2.  
  3. #define OSName                 HP-UX 8.08
  4.  
  5. XCOMM operating system:  OSName
  6.  
  7. #if 0
  8. #define OSMajorVersion         8
  9. #define OSMinorVersion         8
  10. #else
  11. #define OSMajorVersion         9
  12. #define OSMinorVersion         1
  13. #endif
  14.  
  15. #if OSMajorVersion > 8
  16. XINCLUDES = -I/usr/include/Motif1.2 -I/usr/include/X11R5 -L/usr/lib/Motif1.2 -L/usr/lib/X11R5
  17. #else
  18. XINCLUDES = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -L/usr/lib/Motif1.1 -L/usr/lib/X11R4
  19. #endif
  20.  
  21. #ifndef UseAnsiCCompiler
  22. #define UseAnsiCCompiler       YES
  23. #endif
  24.  
  25. #define SystemV                YES
  26.  
  27. #if HasGcc
  28.  
  29. #define StandardDefines        -DUseProto
  30. #define DefaultCCOptions    -z $(XINCLUDES)
  31. #define DefaultCXXOptions    -z
  32.  
  33. #else
  34.  
  35. #ifdef hp9000s800
  36. #if UseAnsiCCompiler
  37. #define StandardDefines        -DSYSV -DUseProto -Dhpux -D_HPUX_SOURCE
  38. #define DefaultCCOptions    -z -Aa $(XINCLUDES)
  39. #define DefaultCXXOptions    -z -ptr$(TOP)/include/ptrepository
  40. XCOMM -Wl,-a,archive
  41. #else
  42. #define StandardDefines        $(XINCLUDES) -DSYSV -Wp,-H256000
  43. #endif
  44. #define LintOpts               -ax -DSYSV
  45. #define OptimizedCDebugFlags   +O1
  46. #else
  47. #define StandardDefines        -Wc,-Nd4000,-Ns3300,-Ne700,-Np200 -DSYSV
  48. #define LintOpts               -ax -Nd4000 -Ns3300 -Ne700 -Np200 -Na25000 -DSYSV
  49. #endif
  50.  
  51. #endif
  52.  
  53. #define LnCmd                  ln -s
  54. #define MvCmd                  mv -f
  55. #define ExecableScripts        YES
  56. #define HasSockets             YES
  57. #define HasVFork               YES
  58. #define RemoveTargetProgramByMoving YES
  59. #define ExpandManNames         YES
  60.  
  61. #ifndef DefaultCCOptions
  62. #define DefaultCCOptions       -Ns4100,-Nw300 -Aa -DUseProto -z +w1
  63. #endif
  64.  
  65. #define BuildServer            NO
  66. #define NeedBerklib            BuildServer
  67.  
  68. #if OSMajorVersion < 6 || (OSMajorVersion == 6 && OSMinorVersion < 2)
  69. #define ConnectionFlags        -DTCPCONN    /* no unix sockets */
  70. #endif
  71.